static-delta: limit the number of writes in process to 1
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 16 Jan 2015 18:21:27 +0000 (19:21 +0100)
committerColin Walters <walters@verbum.org>
Tue, 20 Jan 2015 14:51:02 +0000 (09:51 -0500)
commit4991e9ab6a2adefa78a08b4582b62b2b093a319c
treee2de0079f8af48bed4eaceeeb982be49e608ca6c
parent638431045c3f2271e59dec36bf436adafab0d71e
static-delta: limit the number of writes in process to 1

This will avoid too many open files at the same time that could cause
an EMFILE error.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
(cherry picked from commit bc092b06f0e34e93f7d6102957bf55fd7ffd1b9e)
src/libostree/ostree-repo-static-delta-processing.c